package cc.lj.internal.payment.domain.pay.vo.convert;

import cc.lj.internal.payment.domain.pay.vo.TicketPayRecordDO;
import cc.lj.internal.payment.infrastructure.po.TicketPayRecordPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 合同收券表PO 与 DO之间转换
 * @author liangxifeng
 * @date 2022-01-12
 */
@Mapper
public interface TicketPayRecordPOConvertDO {
    TicketPayRecordPOConvertDO INSTANCE = Mappers.getMapper(TicketPayRecordPOConvertDO.class);
    //do to po
    TicketPayRecordPO convert(TicketPayRecordDO ticketPayRecordDO);

    //po to do
    TicketPayRecordDO convert(TicketPayRecordPO ticketPayRecordPO);
}
